package com.tanjun.publicservice.web.service.flowable;

import java.util.Map;

public interface ProcessInstanceService {
    /**
     * 启动流程
     * @param processId 流程id
     * @param businessKey 业务id
     * @param userId 用户id
     * @param variables 流程变量
     * @return 流程实例id
     */
    String startProcess(String processId, String businessKey, Object userId, Map<String,Object> variables);


}
